/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ca.trader.utils;

import java.util.TreeSet;

/**
 *
 * @author Ahsan
 */
public class TraderTreeSet<T> extends TreeSet<T>
{

	 public T findIdenticalItem(T objectToFind)
	 {
		  for (T obj : this)
		  {
			   if (obj.equals(objectToFind))
			   {
				    return obj;
			   }
		  }

		  return null;
	 }

}
